package com.gt.admin.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@TableName("sc_check_appointment")
@Data
@ApiModel(value = "检查预约")
public class CheckAppointment {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Long appointId;

    /** 姓名 */
    @TableField(exist = false)
    @ApiModelProperty(value = "姓名")
    private String name;

    /** 问卷提交时间 */
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty(value = "问卷提交时间")
    private Date commitTime;

    /** 评估结果 */
    @TableField(exist = false)
    @ApiModelProperty(value = "评估结果")
    private String assessResult;

    /** 预约医院 */
    @ApiModelProperty(value = "预约医院")
    private String appointHospital;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "预约时间")
    private Date appointTime;

    /** 检查方式 */
    @ApiModelProperty(value = "检查方式")
    private String checkMethod;

    /** 临床诊断 */
    @ApiModelProperty(value = "临床诊断")
    private String diagnostics;

    /** 开单医生 */
    @ApiModelProperty(value = "开单医生")
    private String kdDoctor;

    /** 问卷id */
    @ApiModelProperty(value = "问卷id")
    private Long queId;

    /** 筛查目录id */
    @ApiModelProperty(value = "筛查目录id")
    private Long sickId;
}
